package org.cfx.org.service;

import org.cfx.org.domain.Department;
import org.cfx.org.domain.Employee;
import org.cfx.org.query.DepartmentQuery;
import org.cfx.org.query.EmployeeQuery;
import org.cfx.org.utils.PageInfo;

import java.util.List;

/**
 * @author RTX 9090
 */
public interface IEmployeeService {

    void add(Employee employee);
    void update(Employee employee);
    void delete(Long id);

    Employee queryById(Long id);
    List<Employee> queryAll();
    PageInfo<Employee> queryAllPage(EmployeeQuery employeeQuery);
    List<Employee> query();


    List<Employee> queryManager();
}
